<html>
  <head>
    <script src="options.js" type="text/javascript"></script>
<style type="text/css">
<!--
html, body {
  background-color: #E4EAED;
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #2c2961;

}
hr.thin {
  float: left;
  height: 1px;
  border: 0;
  color: #222828;
  background-color: #222828;
  width: 100%;
  margin-bottom: 16px;
} 
ol {margin-left: 0; padding-left: 0em;}
-->
</style>
  </head>
  <body>
  <!--<body 
    onload="
      msg_readwrite_setup();
      document.getElementById('identity_b_0').disabled = 'true';
      document.getElementById('identity_b_1').disabled = 'true';
      fb_cookies_snapshot(function() {
        fb_cookies_clear(function () {
          fb_cookies_test(0, function() {
            fb_cookies_test(1, function() {
              fb_cookies_snaprestore(function () {
                document.getElementById('identity_b_0').disabled = '';
                document.getElementById('identity_b_1').disabled = '';
              });
            });
          });
        });
      });"
    onbeforeunload="fb_cookies_snaprestore();">-->

  <div style="padding-left: 4em; padding-top: 0.2em; width:450px; ">
  <h1>SudoWeb</h1>

  <hr class="thin">

  <h2>Configuration Steps</h2>

  <ol>
    <li>
      <p><b>Enable "Allow in incognito"</b><br>
      Navigate to chrome://extensions/ and
      click on the "Allow in incognito" checkbox for SudoWeb.
      This is necessary for the correct operation of the extension.</p>
    </li>
    <li>
      <p><b>Log in on Facebook using your Primary Identity</b><br>
      (you might be already logged in)</p>
    </li>
    <li>
      <p><b>Set Primary Identity</b><br>
      Click on the button below.</p>
    </li>
    <li>
      <p><b>Log in on Facebook using your Secondary Identity</b><br>
      This is your dummy/disposable account.</p>
    </li>
    <li>
      <p><b>Set secondary Identity</b><br>
      Click on the button below.</p>
    </li>
  </ol>

  <p><b><i>All set!</i></b></p>

  <table>
  <tr>
    <td><u>Primary Identity:</u></td>
    <td><div id="identity_v_0" style="font-weight: bold">N/A</div></td>
    <!--<td><input type="button" value="Set Primary Identity*" id="identity_b_0"
         onclick="fb_cookies_snapshot(function () {fb_cookies_mem(0);})"/></td>-->
    <td><input type="button" value="Set Primary Identity*" id="identity_b_0"/></td>
  </tr>
  <tr>
    <td><u>Secondary Identity:</u></td>
    <td><div id="identity_v_1" style="font-weight: bold">N/A</div></td>
    <!--<td><input type="button" value="Set Secondary Identity*" id="identity_b_1"
         onclick="fb_cookies_mem(1);"/></td>-->
    <td><input type="button" value="Set Secondary Identity*" id="identity_b_1"/></td>
  </tr>
  </table>
  <i>* will log you out from your current Facebook session.</i>
  <br>
  <br>
  <hr class="thin">

  <br>

  <div style="color: #777777">
  <h3>Debug Tools</h3>
  <p>
    Clear all settings <!--<input type="button" value="x" id='nuke_all_b'
     onclick="nuke_settings();"/>-->
    <input type="button" value="x" id='nuke_all_b'/>
    <br>
    Clear Facebook cookies <!--<input type="button" value="x" id='nuke_fb_b'
     onclick="fb_cookies_clear(function() {
       alert('current fb cookies are no more!');});">-->
    <input type="button" value="x" id='nuke_fb_b'/>
  </p>
  </div>

  </div>

  </body>
</html>
